angular.module('Common').config(['$stateProvider', '$urlRouterProvider',
    function($stateProvider, $urlRouterProvider) {
        $stateProvider.
            //可扩展枚举
            state('index.ExtendEnum', {
                url: '/ExtendEnum/Edit',
                templateUrl: 'modules/Common/client/views/ExtendEnum.client.view.html',
                controller: 'EntendEnumController',
                access: { requiredAuthentication: true }
            }).
            state('index.ExtendEnumById', {
                url: '/ExtendEnum/Edit/:id',
                templateUrl: 'modules/Common/client/views/ExtendEnum.client.view.html',
                controller: 'EntendEnumController',
                access: { requiredAuthentication: true }
            }).
            state('index.ExtendEnumList', {
                url: '/ExtendEnum/List',
                templateUrl: 'modules/Common/client/views/ExtendEnumList.client.view.html',
                controller:'EntendEnumListController',
                access: { requiredAuthentication: true }
            }).
            //参数设置
            state('index.Parameter', {
                url: '/Parameter/Edit',
                templateUrl: 'modules/Common/client/views/Parameter.client.view.html',
                controller:'ParameterController',
                access: { requiredAuthentication: true }
            });
    }
]);
